package cn.pegasus.teamwork.pegasus.service;

import java.util.Map;

import cn.pegasus.teamwork.pegasus.entity.BussCouponInfo;
import cn.pegasus.teamwork.pegasus.entity.BussNewsInfo;
import cn.pegasus.teamwork.pegasus.mapper.BussCouponInfoMapper;
import cn.iyizhan.teamwork.base.service.BaseService;
import cn.iyizhan.teamwork.base.util.PageObject;

/**
 * @author ryan.bian
 * @version 
 */
public interface BussCouponInfoService extends BaseService<BussCouponInfo,BussCouponInfoMapper>  {
	
	//分页查询
	public PageObject<BussCouponInfo> PageList(Map<String, Object> map);
	
	//新增
	public void addCoupon(Long userId,BussCouponInfo info);
	
	//修改
	public void updateCoupon(Long userId,BussCouponInfo info);
	
	//删除
	public void delete(Long userId,Long id);
	
	//查询详情
	public BussCouponInfo couponInfo(Long id);

}
